package com.itheima.service;

import com.itheima.domain.User;
import org.springframework.stereotype.Service;

import java.util.List;


public interface UserService {
    List<User> list();

    void save(User user, Long[] roleIds);

    void del(Long userId);

    User login(String username, String password);

}
